cccbe9644aa31fc8a027d9ee256be7edfd5d75c5,src/com/vaadin/terminal/gwt/client/ui/VMeasuringOrderedLayoutPaintable.java,VMeasuringOrderedLayoutPaintable,layoutPrimaryDirection,#,210
Before Change
}
int startMargin = getWidgetForPaintable().getStartMarginInDirection(
getWidgetForPaintable().isVertical);
int totalMargins = startMargin
+ getWidgetForPaintable().getEndMarginInDirection(
getWidgetForPaintable().isVertical);
totalAllocated += totalMargins
+ (getWidgetForPaintable().getSpacingInDirection(
getWidgetForPaintable().isVertical) * (children.size() - 1));
Style ownStyle = getWidgetForPaintable().getElement().getStyle();
double ownSize;
if (isUndefinedInDirection(getWidgetForPaintable(),
getWidgetForPaintable().isVertical)) {
ownSize = totalAllocated;
ownStyle.setProperty(
After Change
getWidgetForPaintable().isVertical);
double size = getOuterSizeInDirection(child,
getWidgetForPaintable().isVertical);
int captionHeight = getCaptionHeight(child);
if (getWidgetForPaintable().isVertical) {